<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="description" content="">
    <meta http-equiv="x-dns-prefetch-control" content="on">

    <title>嘉定计量质量检测公共服务平台</title>
    <link href="css/css.css" rel="stylesheet" type="text/css"><!--全局-->
    <link href="css/jiliang.css" rel="stylesheet" type="text/css"><!--指定-->
    <script  src="common/js/jquery-easyui-1.2.5/jquery-1.7.1.min.js">  //引入jq
	</script> 
	<script type="text/javascript" src="common/js/json2.js"></script>
	<script type="text/javascript" src="common/js/jquery.min.js"></script>
	<script  src="common/js/init.js"> </script> 
	<script  src="common/js/basefast.js"> </script> 
      <script type="text/javascript"> 
  	$(document).ready( function()
  		{  
  		var token = getQueryString("id"); 
  		if(token==null||token=="")
  		{
  			alert("您还未登录!请登录!");
  			window.location="index.html";
  		} 
  		function getQueryString(name) {//取URL参数  要得到id 就传id
		    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
		    var r = window.location.search.substr(1).match(reg);
		    if (r != null) return unescape(r[2]); return null;
		    }	 
  		    	var info = {};
					info.sForm = { "token":token };
					Communicator.send("LoginService", "loadlist", info, {
					onSuccess : function(data){ 
						$.each(data.list, function(i,item){      
								$("#body").after("<div class='itemgroup2'>"
						+  "<a href=  'yuyue.html?id="+item.id+"&token="+token+"'  id='orderno'><div class='blueitem p15'>"+item.ORDER_NUMBER+ "</div></a><div class='photoitem p15'>" 
							           +" <span class='font14 lh30'> <font class='gray'>预约时间:</font>" 
							           +  "<font class='right'  id='suretime'>"+item.SURE_DATE+"</font>  </span>"
							            +"<span class='font14 lh30'>"
							             +   "<font class='gray'>待检公司:</font>"
							              +  "<font class='right' id='unitname'>"+item.UNIT_NAME+"</font></span>" 
							         +   "<span class='font14 lh30'>"
							           +     "<font class='gray'>公司地址:</font>"
							               + "<font class='right'  id='simpleaddress'>"+item.ADDRESS +"</font>"
							          +  "</span>"
							           + "<span class='font14 lh30'>"
							            +    "<font class='gray'>联系人:</font>"
							            +    "<font class='right' id='linkman'>"+item.LINKMAN+"</font>"
							       +   "  </span>"
							       +    " <span class='font14 lh30'>"
							         +       "<font class='gray'>联系电话:</font>"
							        +     " <font class='right' id='tel'>"+item.TEL+"</font>"
							         +   "</span> </div>  </div>");
							});   
						
					},onFail:function(xmlR, status) {
		 
			}
		});
	 
  		
  		
  }); 
      </script> 
</head>
<body>
<section class="tabbtnarea">
    <li class="w50 rline"><span class="tabfouse">待检测</span></li>
    <li class="w50">已完成</li>
</section>
<section class="pall15 mt54" style="overflow: hidden">
	<div id="body" style="display: none;"></div>
     
</section>
</body>
</html>